package com.funny.test.configuration;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.core.env.Environment;
import org.springframework.stereotype.Component;

/**
 * @author fanxiao  2021/11/25
 * @since 1.0.0
 */
@Component
@Slf4j
public class InvalidInitExampleBean {

	@Autowired Environment environment;

	public InvalidInitExampleBean() {
		environment.getActiveProfiles();
	}

}
